<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
	xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>腾邦豪特销售管理平台</title>
<link rel="stylesheet" type="text/css"
	href="widgets/easyui/easyui-1.4.2/themes/default/easyui.css" />
<link rel="stylesheet" type="text/css"
	href="widgets/easyui/easyui-1.4.2/themes/icon.css" />
<link rel="stylesheet" type="text/css"
	href="widgets/easyui/easyui-1.4.2/themes/color.css" />
<link rel="stylesheet" type="text/css" href="css/basic/form.css" />
<script type="text/javascript" src="widgets/easyui/easyui-1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="widgets/easyui/easyui-1.4.2/jquery.easyui.min.js"></script>
<script type="text/javascript"
	src="widgets/easyui/easyui-1.4.2/locale/easyui-lang-zh_CN.js"></script>
</head>
<body>
	<table id="tt">
	</table>
	<div id="add-form" class="easyui-dialog" title="入库申请" closed="true"
		data-options="modal:true"
		style="padding:10px">
		<form id="fm" method="post">
			<table class="form">
				<tr>
					<th style="width:150px" >入库类型:</th>
					<td><input name="firstname" class="easyui-validatebox easyui-textbox"
						required="true" /></td>
					<th><label>来源单据:</label></th>
					<td><input name="12" class="easyui-validatebox easyui-textbox"
						required="true" /></td>
				</tr>
				<tr>
					<th><label>公司名称:</label></th>
					<td><input name="firstname" class="easyui-validatebox easyui-textbox"
						required="true" /></td>
					<th><label>库存组织:</label></th>
					<td><input name="12" class="easyui-validatebox easyui-textbox"
						required="true" /></td>
				</tr>
				<tr>
					<th><label>入库单号:</label></th>
					<td><input name="firstname" class="easyui-validatebox easyui-textbox"
						required="true" /></td>
					<th><label>申请人 :</label></th>
					<td><input name="12" class="easyui-validatebox easyui-textbox"
						required="true" /></td>
				</tr>
				<tr>
					<th><label>申请日期:</label></th>
					<td><input name="firstname" class="easyui-validatebox easyui-textbox"
						required="true" /></td>
					<th></th>
					<td></td>
				</tr>
				<tr>
					<th><label>申请说明:</label></th>
					<td colspan="3"><input name="firstname" style="width:435px;height:50px;" class="easyui-validatebox easyui-textbox"
						required="true" /></td>
				</tr>
				<tr>
					<th><label>入库货品:</label></th>
					<td colspan="3">
						<table id="dg" class="easyui-datagrid" style="width:435px;height:200px"
			data-options="
				iconCls: 'icon-edit',
				singleSelect: true,
				toolbar: '#tb',
				method: 'get'
			">
		<thead>
			<tr>
				<th data-options="field:'itemid',width:80">Item ID</th>
				<th data-options="field:'productid',width:100,
						formatter:function(value,row){
							return row.productname;
						},
						editor:{
							type:'combobox',
							options:{
								valueField:'productid',
								textField:'productname',
								method:'get',
								url:'products.json',
								required:true
							}
						}">Product</th>
				<th data-options="field:'listprice',width:80,align:'right',editor:{type:'numberbox',options:{precision:1}}">List Price</th>
				<th data-options="field:'unitcost',width:80,align:'right',editor:'numberbox'">Unit Cost</th>
				<th data-options="field:'attr1',width:250,editor:'textbox'">Attribute</th>
				<th data-options="field:'status',width:60,align:'center',editor:{type:'checkbox',options:{on:'P',off:''}}">Status</th>
			</tr>
		</thead>
	</table>
					</td>
				</tr>
				
			</table>
		</form>
	</div>
</body>
<script type="text/javascript" src="js/rk.js"></script>
</html>
